elements of cost